chore(deps): update dependencies to resolve all npm audit CVEs - #11122
Merged
Conversation
Bas950
force-pushed
the
chore/dependency-updates
branch
from
August 21, 2026 09:40
e2dfa4b to
db31879
Compare
theusaf
approved these changes
Aug 21, 2026
skullysmods
approved these changes
Aug 21, 2026
- cli: adm-zip ^0.6.0, sharp ^0.35.3, ws ^8.21.3, drop deprecated @types/got - docs: vitepress 2.0.0-alpha.19 (vite 8), markdown-it ^15 - root: eslint ^10.8.1, @antfu/eslint-config ^8.3.0, vitest ^4.1.11 - eslint.config.mjs: scope markdown rule overrides to **/*.md (required since @antfu/eslint-config 8.3.0 default-ignores markdown in unscoped config blocks) npm audit now reports 0 vulnerabilities in all three lockfiles.
Bas950
force-pushed
the
chore/dependency-updates
branch
from
August 21, 2026 20:11
db31879 to
1eec4b4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates dependencies across all three manifests (root,
cli/,docs/) to resolve every open npm CVE —npm auditnow reports 0 vulnerabilities in all three lockfiles.Security fixes
cli/ (also inherited by the root lockfile via
pmd: file:cli):adm-zip^0.5.17→^0.6.0— GHSA-xcpc-8h2w-3j85 (crafted ZIP 4GB allocation). OnlyaddLocalFile/writeZipare used; API unchanged, CLI tests pass.sharp^0.34.5→^0.35.3— libvips CVE-2026-33327/33328/35590/35591. Onlysharp().metadata()is used; tests pass.@types/got— deprecated stub for got v9 that pulled in the criticalform-data<2.5.4 advisory (GHSA-fjxv-7rqg-78g4).gotv15 ships its own types; nothing imported the stub.ws^8.20.0→^8.21.3(direct) and nesteddiscord-rpc→wsrefreshed to 7.5.13 — GHSA-58qx-3vcg-4xpx, GHSA-96hv-2xvq-fx4p.undici,vite8.0.x,postcss,picomatch,nanoid,brace-expansion,fast-uri,form-data,esbuild0.28.2.docs/:
vitepress^1.6.4→^2.0.0-alpha.19— vitepress 1.x pins vite 5 / esbuild 0.21, which have unfixable-in-range advisories (GHSA-67mh-4wv8-2f99 and the vite ≤6.4.2 alerts). The 2.x alpha rides vite 8.2 / esbuild 0.25+;npm run buildrenders the site cleanly. This is the only route to 0 CVEs in docs.markdown-it^14.1.1→^15.0.0— GHSA-6v5v-wf23-fmfq (also clearslinkify-itGHSA-v245-v573-v5vm).rollup,preact,postcss,nanoid,mdast-util-to-hast.Non-security updates
eslint^10.8.1,@antfu/eslint-config^8.3.0,eslint-plugin-json-schema-validator^6.3.1,vitest/@vitest/*^4.1.11,@types/node^25.9.5@inquirer/prompts^8.6.0,got^15.1.0,semver^7.8.5,globby^16.2.4,ora^9.4.1,esbuild^0.28.2,@types/*bumps,vitestfamily^4.1.11Deliberately left out (available majors, not CVE-related)
typescript7 (chore(deps): update dependency typescript to v7 #11025),@types/node26 (chore(deps): update dependency @types/node to v26 #10939),@antfu/eslint-config9,chalk6 — all breaking, none needed for security.actions/checkout@v7(chore(deps): update actions/checkout action to v7 #10938) /actions/setup-node@v7(chore(deps): update actions/setup-node action to v7 #11024) are workflow updates, untouched here.ESLint config fix
@antfu/eslint-config8.3.0 changed unscoped config blocks to default-ignore markdown files (setDefaultIgnores+GLOB_MARKDOWN), which silently disabled the repo's existingmarkdown/no-multiple-h1/markdown/heading-incrementoverrides and resurfaced 6 errors in.github/CONTRIBUTING.mdand two activity readmes. The overrides are now scoped tofiles: ['**/*.md']ineslint.config.mjs, restoring the previous behavior.Verification
npm audit: 0 vulnerabilities in root,cli/, anddocs/cli:tscbuild clean, all 34 vitest tests passdocs:vitepress buildcompletes on 2.0.0-alpha.19 (vite 8.2.2)eslint .on this branch was diffed against amainworktree with the old lockfile: the identical 574 pre-existing errors (mostlyts/no-deprecated— these feed the code-scanning alerts via the SARIF upload; the workflow iscontinue-on-error) and zero new findings after the config fix.Notes
ts/no-deprecated, URL-substring-sanitization warnings in variouspresence.tsfiles) — those are code issues in individual activities, not dependency CVEs, and are out of scope here.